Browsing articles tagged with " function"
Dec
13
13
LOOP in PL/SQL
Syntax:
LOOP
statements
END LOOP;
Example:
DECLARE
cntr NUMBER :=0;
BEGIN
LOOP
cntr :=cntr +1;
IF cntr>100 THEN
Dbms_Output.put_line (cntr);
EXIT;
END IF;
END LOOP;
Sep
30
30
calculate area of circle using abstract class in JAVA
abstract class shape
{
public abstract void calculateArea();
public void show()
{
System.out.println(“Abstract Class\n”);
}
}public class circle extends shape
{
int radius;
public circle (int r)
{
radius=r;
}
public void calculateArea()
{
System.out.println(“Calculate Area of Circle class: \n Radius of Circle = 4 \n Formula = PI r square \n Then Area of circle = ” + 3.14*radius*radius);
}
public static void main(String args[])
{
circle c1=new circle(4);
c1.show();
c1.calculateArea();
}
}
Namaste!
Recent Posts
Tags
basic java
c++
C++ coding
C++ prgoram
c++ prgram
C++ programmer
C++ programming
c++ syntax
database
function
functions in oracle
java
Java Bean
java program
java programmer
java programming
JDK
JSF
JSP
loop
nepali wordpress designer
Operator Precedence
oracle
oracle 9i
oracle database
oralce
package
PL/SQL
Servlet
sql
sql statements
wordperss designer nepal
wordpree designer
wordpres plugin
wordpress blog
wordpress blog design
wordpress blog nepal
wordpress design
wordpress designer
wordpress designer nepal
wordpress nepal
wordpress news
wordpress news nepal
wordpress plugins
wordpress themes
Latest Tweets
- You can't beat that!!! ha ha ha ha
http://t.co/RncN75Qy - posted on 18/05/2012 08:51:10 - Would you do these workouts -- at work? http://t.co/9FjVfJZ2 - posted on 18/05/2012 08:46:13
- Congratulations didi n Vinaju! http://t.co/tgWnJQ7l - posted on 18/05/2012 06:04:54




