Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Javac -source KeyTest.java
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Pradip Dutta
Javac -source KeyTest.java
0 Answer(s)      3 years and 7 months ago
Posted in : Java Beginners


Sam works as a software developer for Amrtech info. He writes code using assert as an identifier for a class named KeyTest. Which of the following will he use to compile the KeyTest class successfully? a. Javac -source 1.4 KeyTest.java b. Javac -source 1.5 KeyTest.java c. Javac -source 5 KeyTest.java


Advertisement
View Answers

Related Tutorials/Questions & Answers:
javac complier not found - JSP-Servlet
javac complier not found  i am facing problem to run jsp simple page to run jsp page through tomcat error occured unable to find javac comlier or root of cause not find jdk i have set java_home as c:\program Files\java
javac is not ecognised as internal and external command - Java Beginners
javac is not ecognised as internal and external command  i have installed jdk6u20 develpment kit on my pc and followed all the instructions about setting the classpath in system variable.but still i am getting the error i.e javac
Advertisements
About IDE
About IDE       Generally, a java programmer starts programming with a notepad. To compile and run a program, a programmer uses javac and java commands at the command prompt
Eclipse IDE
. To compile and run a program, a programmer uses javac and java commands... with Eclipse IDE This is free and open source, extensible IDE
java compiler
java compiler  how we can convert .java file to a .class file without using javac
annotation error
the correct name with javac command. Here we have used your specified classname. javac -cp JdbcProjam.java
Java Complier
Java Complier  in the cmd e=when i enter the dir it shows the my file name.but when i type javac it shows the error like javac is recognized as internal and external.i am restart the system also.but its not working
Java Complier
Java Complier  In the cmd when i enter the dir it shows the my file name.but when i enter the javac its give the error like javac is not recognized as internal and external.i am restart the system also after changing
java
java  sir it is possible to compile a java program with errors but itcannot be shown.i need all javac commands used to compile java
Getting the Current Working Directory in Java
C:\nisha>javac GetCurrentDir.java C:\nisha>java GetCurrentDir Current Working Directory : C:\nisha C:\nisha> Download this example
java compilation error - Java Beginners
update 12) from www.java.com. whenever i try to compile the program using javac command, error message is displayed javac is not recognized as an internal command or batch file then i looked into bin ,there is no javac file. plz tell me
java not run on my pc
java not run on my pc  i have installed java in pc but when i run and compile any program the massage is display that 'javac' is not recognized as an internal or external command
kedhar
kedhar  i'm getting the problem as error: cannot read: Print.java 1 error this problem occuring me when i'm trying to compile the pgm with javac classname.java please help me out this POPEstrong text
how to compile programs??????????
how to compile programs??????????  "javac" is not recognised as a file name. why??????????   Have you set your path name and class name correctly? Anyways have a look at the following link: Install Java
java
java  we compile FileName.java with command javac FileName.java. then at run time, how JVM decide that .class must be compiled(with JIT compiler) or interpreted or work both at same time.(use of JIT compiler and Interpreter
Compiling package in command line
CLASSPATH=.;C:\; C:\mypackage>javac shamil.java 'javac' is not recognized
how to run - Java Beginners
the "javac" command to compile the program and after compiling,uses "java" command... file on the command prompt using: "javac HelloWorld.java". And then run it using
java error - Java Beginners
java error  G:\threading>javac threadmethods.java Note: threadmethods.java uses or overrides a deprecated API. Note: Recompile with -Xlint... as: javac -Xlint prime.java Thanks
Regarding path settings in java
by typing javac Hell.java it is not working in compiling and telling no external... the solution for the problem whether there is any fault in settings or compiling(javac... instructions to type as javac Hello.java but still it is not working,so please tell
remove given error
remove given error  class Amol { public static void main(String args[]) { System.out.println("Hello"); } } D:\ammy>javac Ammy.java Ammy.java:5: cannot find symbol symbol : variable out location: class System
MCA
MCA  Hello... am indumathi. while compiling the java code in command editor, am getting the message ['javac' is recognized as an internal or external command,operable program or batch file]... i dont know wat to do..plz help me
About running the Applet Program
About running the Applet Program  Hi I have composed an Applet Program and compiled the program, until that it is fine but how to run the Applet program(compiling i typed as javac AppletDemo.java)? Is compiling
About running the Applet Program
About running the Applet Program  Hi I have composed an Applet Program and compiled the program, until that it is fine but how to run the Applet program(compiling i typed as javac AppletDemo.java)? Is compiling
how to run this program?
with javac and run with java command, same as a simple java program. Learn Swing
MyQuestions
MyQuestions  how javac work? why we call jvm as virtual machine? how user run .class file from jarfile? how objects,reference variables & simple variables and values stored in heap/stack memory? what is the class path
Exception Handling-Error Messages in Program
Exception Handling-Error Messages in Program  Sorry about the first code block: import java.util.*; class GradeException extends Exception{ public GradeException(String s){ System.out.println(s); } } ----jGRASP exec: javac -g C
Change a file timestamp
C:\vinod\Math_package>javac ChangeFileDate.java C:\vinod\Math_package>java ChangeFileDate Change file timestamp example! Enter file name with extension: StrStartWith.shtml Enter last
java-basics
java-basics  hi,anybody tell me What is the use of bin and lib in JDK?  Lib contains all packages and variables.Data types,Variables and Arrays.and Bin contains all tools such as javac, applet viewer, awt tool etc
JAVA - Java Beginners
JAVA  how to compile the DNA Sequence Question and what are the the files should be created while compiling becoz it is not compiling its makes the following line to be appeared while compiling D:\JAVA>javac
error while compiling - Java Beginners
error while compiling  i am facing problem with compiling and running a simple java program, can any one help me, the error i am getting is javac is not recognised as internal or external command  Check if you JAVA_HOME
Advertisements
 

 

 

DMCA.com