Can you declare a static variable in a method?

Answer Posted / aditya mohata

ya.

Is This Answer Correct ?    3 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between fileinputstream and filereader in java?

648


How to sort array in descending order in java?

593


Is main is a keyword?

674


How do you make an arraylist empty in java?

568


Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

693






What is arrays aslist in java?

614


Can you explain the usages of class.forname()?

728


What is a parameter in a function?

621


Why java is considered as platform independent?

678


What is type safety in java?

598


what are the high-level thread states? : Java thread

658


Which is better ascii or unicode?

661


What is java ceil?

668


What is the purpose of static keyword in java?

602


How to use arraylist in java netbeans?

605