Advertisements

Aatul Palandurkar

Posts Tagged ‘J2SE

Objectives :

  • Why Java is platform independent?
  • How java program executes?
  • What is execution flow of Java Program?
  • What are the steps to execute a Java Program?
  • What are the steps to run a Java Program?
Advertisements

Objective :

  • How to write a simple Java program?
  • How to write Hello in Java?
  • How to write HelloWorld in Java?
  • How to write & execute a simple Java program?
  • How to write Java program using Notepad & execute using Command Prompt?
[youtube:http://www.youtube.com/watch?v=WF0vl4x8Dm0%5D

Posted from WordPress for Android

[youtube:http://youtu.be/PT8LUpg27c8%5D

What is Java Magazine?
Java Magazine is an essential source of knowledge about Java technology, the Java programming language, and Java-based applications for people who rely on them in their professional careers – or aspire to. With contributors ranging from across the ecosystem, Java Magazine is truly designed by, and for, the community.

Magazine Coverage :

  • J2SE
  • J2EE
  • J2ME (Java ME)
  • Java FX
  • Other Languages & Technologies based on Java
  • Tips & Tricks
  • Many more stuffs

Link : Click here for Digital Version of Java magazine.

Custom Widget Code for blog & websites :

<table border=”0″ cellpadding=”0″ cellspacing=”0″>
<tbody>
<tr style=”background-color:#D2D2D2;height:30px;”>
<td><img class=”navlogo” src=”http://images-cdn.dashdigital.com/javamagazine/include/icons/navbar_logo.gif?lm=1317349588000&#8243; alt=”www.oracle.com/javamagazine” align=”left” height=”28″> </td>
<td style=”COLOR: #666666;font-weight:bold;font-family:tahoma, sans-serif;font-size:11px;line-height:15px;padding-right:5px;” align=”right”><span id=”top_right_text”>Look inside &gt;</span> </td>
</tr>
<tr style=”background-color:#FFFFFF;”>
<td colspan=”2″ style=”padding:10px 0px;” align=”center”> <a href=”http://www.oraclejavamagazine-digital.com/javamagazine/premiere2011?pg=1&#8243; target=”_blank” onclick=”window.open(‘http://www.oraclejavamagazine-digital.com/javamagazine/premiere2011?pg=1&#8242;,’sharewidget’,’toolbar=no,menubar=no,resizable=yes,scrollbars=yes,left=0,top=0,width=’+(screen.width-10)+’,height=’+(screen.height-10)+”);return false;” title=”View Magazine”> <img src=”http://images-cdn.dashdigital.com/javamagazine/premiere2011/data/imgpages/smtn/0001_nceppo.gif?lm=1317349588000&#8243; alt=”Cover” border=”0″> </a> </td>
</tr>
<tr style=”background-color:#D2D2D2;height:30px;”>
<td colspan=”2″ style=”COLOR: #666666;font-weight:bold;font-family:tahoma, sans-serif;font-size:11px;line-height:15px;” align=”center”><span id=”bottom_text”>Premiere Issue 2011</span> </td>
</tr>
</tbody>
</table>


Following are the some characters which are generally used as the separators in Java.

Separator

Name

Use

.

Period

It is used to separate the package name from sub-package name & class name. It is also used to separate variable or method from its object or instance.

,

Comma

It is used to separate the consecutive parameters in the method definition. It is also used to separate the consecutive variables of same type while declaration.

;

Semicolon

It is used to terminate the statement in Java.

()

Parenthesis

This holds the list of parameters in method definition. Also used in control statements & type casting.

{}

Braces

This is used to define the block/scope of code, class, methods.

[]

Brackets

It is used in array declaration.

Separators in Java

 


Advertisements

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 7,294 other followers

Atul Palandurkar

Tweets

%d bloggers like this: