Introduction to Java

Java is a general-purpose; object oriented programming language developed by Sun Microsystems in 1991. James Gosling and his team members developed Java. It was designed for the development of software for electronic devices like TVs, VCRs. The...

Interfaces & Packages

Introduction Other Object Oriented Programming languages, such as C++, provide multiple inheritance (deriving a single new class from two or more base classes). But such type of inheritance leads in ambiguity when two base classes have the methods...

Computer education courses and jobs information

Computer education courses and jobs information Electronic and Science fast developing in these days. A man going to moon and man disease decides for using science and computers. So computer most useful instrument and much more wanted mission to...

  Problem Definition :- Write a java code to find out the sum of all digits of a given number. Solution :- Step 1: Classes that are required in coding. MainClass.java - contains main() method. SumDigits.java - contains calculateSumOfDigits()...

To reverse a string using Java

Problem Definition:- Write a Java code to reverse any string. String should be input from the user at the runtime. Write different class for the business logic of reversing a string. P.S. Here, Eclipse Ganymede is used for coding. And, Exception...

Basic Elements Of Java

  :..Basic Elements Of Java..:   Like any other programming language, the Java programming language is defined by grammar rules that specify how syntactically legal constructs can be formed using the language elements, and by a semantic...

Volatile Variable in java

Volatile Variable in java Volatile variable is more useful in java. Now a days we using multithread in many Java projects. During this we can use the volatile keyword. Best scenario for using volatile variable: In multiple thread concept may be...

Polymorphism, Encapsulation, and Inheritance

Polymorphism, Encapsulation, and Inheritance When properly applied, polymorphism, encapsulation, and inheritance combine to produce a programming environment that supports the development of far more robust and scaleable programs than does the...

JaVa ThE pUrE oBjEcT OrIeNtEd LaNguAgE

JaVa ThE pUrE oBjEcT OrIeNtEd LaNguAgE   Java was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike Sheridan at Sun Microsystems, Inc. in 1991. It took 18 months to develop the first working version. This language was...

java programs

  Java is a pure object-oriented programming language developed by the chief programmer of Sun Microsystems James Gosling and his team-mates for controlling consumer electronic devices. It shares many superficial similarities with C, C++, and...

Byte code back to Source code

I started learning Java. But, until recently, I had no idea about the same. I didn't knew that something magical existed that would perform thisconversion. But now since I know a bit, I thought I better share it. Java Decompiler As you would have...

How to use if statement in java

Flow control in java is a key part as these are widely used in source code of any of the programs that are written in Java. In java, flow controls include if statement , switch statement, loops like for, while, do - while loop. These flow controls...

Mobile Operating System - Android

          As the title suggests "Mobile operating system", Android is a java based mobile operating system with which mobile applications can be developed. Android strongly supports java. Any other programming language is not supportive to...

Prob cleared for my Java program..

hi friends, i myself found the solution for the java prog which i was unable to do, in my last article.. the solution is   the connecting function in the 2nd class..   public boolean UsrAuthPw(String username, String password){ boolean...

Java program

hi friends, i was trying one java program, which gets the username and password from the user and has to check them if they r present in the database (MySQL) and has to give the result as soon as the OK button has been clicked.. i've created the...

JAVA FAQ's

Hi everyone here im ready to answer ur questions. If anyone having question related to JAVA free to ask im going to reply all ur question....   Looking for Questions...

Introduction:: Java is a programming language that was developed by the sun microsystems in 1991.Its original name was Oak and later on was renamed to JAVA. It is the programming language having much of the syntax same as c and c++. Now before...

Open and Close Windows using javascript

Hi,friends while using HTML tags and javascript i tried to open and close a window using javascript and i used the below scripts to open and close the windows. Set the below link as hyperlink  and click on the link to open new...

Architecture of JSF Framework

The JavaServer Faces framework built on the Model-View-Controller (MVC) design pattern. The main advantage of using MVC is to separate the view tier from the Model tier and thus making it easy to extend the capabilities and integrate with other...

Closing the browser window using javascript

While I was working on some HTML files which requires closing the main window when I clicked on the close button which my application provided. I used window.close() javascript to close the browser window. It works perfectly fine under Internet...

Powered by CjBlog