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



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

Have Programming Question? Ask it here!
 
 
 


Pradip Dutta
Javac -source KeyTest.java
0 Answer(s)      3 years and 4 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
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
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
Setting of java1.4.2 path
the solution   Keep space between javac command and Class name like this: javac Hello.java
rmi compilation - Development process
rmic like javac by setting the path in command prompt like path="E:\Program Files\Java\jdk1.6.0_02\bin" and then we simply use javac in current
Error While Compiling - Java Beginners
Error While Compiling  Hi All I Am a beginner and i face the following problem while compiling can anyone help me. C:\javatutorial\example> javac HelloWorld.java 'javac' is not recognized as an internal or external
The throw keyword example in java
;); } } Hot to run program: c:\yourjavadir> javac ExceptionExample.java c:\yourjavadir> javac ExceptionExample Second Output: First Second Third
Jumping
;javac BreakDemo.java C:\javac>java BreakDemo 0...;} } } Output: C:\javac>javac BreaklabDemo1.java C...;} } Output: C:\javac>javac
break
;javac BreakDemo.java C:\javac>java BreakDemo 0...;} } } Output: C:\javac>javac BreaklabDemo1.java C...;} } Output: C:\javac>javac
character literal in octal format
is:::.. javac EscapeSequence1.java javac EscapeSequence1.java Process started >
compile error
"); } } i have save this program with A.java. Then I executed this program javac A.java... program with Test.java and try to compile with javac test.java an error like
Java - JSP-Servlet
. type javac to compile the servlet file and if you have defined the package then compile it with the command as : javac -d . ServletFileName.java 4. Now
RMI-Example-3
for execution at Server machine: javac RemoteInterface.java javac RemoteInterface1.java javac ServerImplements.java javac ServerImplements2.java rmic ServerImplements rmic ServerImplements2 javac Servet2.java start rmiregistry java
Jfree create error
different or only javac filename.java????????/ plz help
Jfree create error
different or only javac filename.java????????/ plz help
Compile time error
Compile time error  Hi, When i compile my simple program in cmd am getting a error like "Javac is not a recognized as an internal or external command, operable program or batch file" How to resolve this problem ????  
how to run jdbc program in linux-ubuntu?
to compile java program javac prog.java java prog
for a problem in coading - Java Beginners
with the code. Please execute it like as follows : Compile : javac
java programe executing error - Java Beginners
!"); } } Compile as: javac -d Hello.java Execute it: java Hello
BufferReader Example
'); } } How to run this example: c:\yourJavaFileDir>javac
Iteration
; } } } Here is the output: C:\javac>javac printDemo.java...; C:\javac>javac arrayDemo.java C:\javac>java
Waiting for ur quick response
have to compile it: javac sun.java It compiles successfully then i have..."); } } Then i have to compile it: javac moon.java It compiles successfully then i
Advertisements
 

 

 

DMCA.com