Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can you debug the Java code?

Answer Posted / gyana

If you want to debug java code, first you have to know at
what platform you use to write the java codes.

If you are using Textpad for writing java code ,then you
have to first save this file as "filename.java".Where the
file name should be same as the class which contain the
main method .Then go to command promot and type javac
filename.java to compile the programme.then if there is no
error then type java filename.In other way you just press
ctrl+1 to compile and ctrl+2 to debug.

Then if you are working on the netbeen
(Java software) then you have to only press F5 to debug the
project.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by flickering?

1035


What are access specifiers available in java?

976


What is the full form of jpeg?

912


What is 32 bit float?

935


Can we have any other return type than void for main method?

909


What is the Scope of Static Variable?

1170


What are the basic interfaces of java collections framework?

1056


Can java arraylist hold different types?

998


Is null a string in java?

1012


What is difference between overloading and overriding in java?

973


Can a abstract class be defined without any abstract methods?

943


How would overload a function based on return type?

925


List out benefits of object oriented programming language?

838


Explain the significance of class loaders in bootstrap?

898


When the constructor of a class is invoked?

983