skip to main
|
skip to sidebar
JAVA STARTER'S CRACK IT, ITS EASY
Pages
HOME
JAVA
Search
GO
RSS Feed
Twitter
FaceBook
Share
Wednesday, 4 June 2014
Program IN JAVA USING TERNARY OPERATOR
Q)WAP IN JAVA USING TERNARY OPERATOR
ANS:
class Ternary
{
public static void main(String arg[])
{
int c,b,a;
a=Integer.parseInt(arg[0]);
b=Integer.parseInt(arg[1]);
System.out.print((a<b)?a:b);
System.out.print("min no");
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Subscribe To http://manpreetkaur0022.blogspot.in/
Posts
Atom
Posts
Comments
Atom
Comments
Search This Blog
Translate
Labels
ABSTRACT CLASS
(1)
ActionInvocation
(1)
and DROP DATABASE
(1)
array
(2)
arraylist
(1)
awt
(1)
AWT Containers
(1)
AWT Layouts
(1)
AWT Menu Classes
(1)
Check
(1)
Core Components of Struts ValueStack
(1)
Create Table
(1)
Default
(1)
Difference between JDK
(1)
Displaying image in swing:
(1)
Drop
(1)
DROP TABLE
(1)
EVENT HANDLING IN JAVA
(2)
Exception handling in java
(1)
final KEYWORD
(1)
for loop
(1)
Foreign Key
(1)
GROUP DISCUSSION
(1)
hashset
(1)
inbuilt
(1)
inheritance
(1)
INSTANCE OF OPERATOR
(1)
Interface in Java
(1)
introduction
(1)
java
(12)
Java Collection Framework
(1)
JavaScript
(1)
Javascript Form Validation
(1)
JDBC Overview
(1)
jfc
(1)
Join
(1)
JRE and JVM
(1)
JSP (Java Server Pages)
(1)
LayoutManagers in java
(1)
Life Cycle of a Servlet
(1)
Like
(1)
linked hashset
(1)
linked list
(1)
multithreading
(1)
OGNL
(1)
overloading
(1)
Package in Java
(1)
packages
(1)
palindrome
(1)
prog on pyramid
(1)
queue
(1)
Servlet
(1)
Session Tracking in Servlets
(1)
SKILLS FOR INTERVIEW
(1)
some basic prograams
(1)
sorting
(2)
SQL
(2)
SQL -ALTER TABLE
(1)
SQL Constraints-Not Null
(1)
SQL Date
(1)
SQL DROP INDEX
(1)
SQL General Data Types
(1)
SQL Primary key
(1)
SQL Queries: select top
(1)
SQL Query : Create database
(1)
static
(1)
string
(2)
string handling
(2)
Strings in java
(1)
Struts 2
(1)
Struts 2 Architecture and Flow
(1)
Struts 2 Interceptors
(1)
Struts 2 Validation
(1)
Swing (Graphics Programming in java):
(1)
Swing Components
(1)
ternary operator
(1)
treeset
(1)
Unicode System
(1)
Unique
(1)
user defined
(1)
wildcard
(1)
Popular Posts
JSP (Java Server Pages)
JSP (Java Server Pages) JSP technology is used to create web application just like Servlet technology. It can be thought of as an exte...
Exception Handling in Java
Exception Handling in Java Exception Handling Advantage of Exception Handling Hierarchy of Exception classes Types of Exception Che...
Struts 2 Validation
Struts 2 Validation To avoid the wrong values, we need to perform validation on forms where user submits some values. For example , ...
Program IN JAVA USING TERNARY OPERATOR
Q)WAP IN JAVA USING TERNARY OPERATOR ANS: class Ternary { public static void main(String arg[]) { int c,b,a; a=Integer.parseInt(arg[...
STRING BUFFER
in this discussion we will discuss about buffer string buffer [12:30-3:30]--PROGRAM USING STRING BUFFER.....which includes ----)buff.del...
Struts 2 Architecture and Flow
Struts 2 Architecture and Flow The architecture and flow of struts 2 application , is combined with many components such as Controller, ...
Struts 2 Interceptors
Struts 2 Interceptors Tutorial Interceptor is an object that is invoked at the preprocessing and postprocessing of a request. In Struts 2...
Core Components of Struts ValueStack,OGNL,ActionInvocation
Struts 2 ValueStack Tutorial A valueStack is simply a stack that contains application specific objects such as action objects and other m...
LayoutManagers in java
LayoutManagers: The LayoutManagers are used to arrange components in a particular manner . LayoutManager is an interface that is imple...
Session Tracking in Servlets
Session Tracking in Servlets Session simply means a particular interval of time. Session Tracking is a way to maintain state (dat...
Blogger templates
Blog Archive
▼
2014
(46)
►
November
(9)
►
October
(11)
►
September
(16)
►
August
(5)
►
July
(3)
▼
June
(2)
static members in java
Program IN JAVA USING TERNARY OPERATOR
►
2013
(11)
►
June
(11)
Pages - Menu
Home
About Me
Unknown
View my complete profile
Blogger templates
Pages
Home
No comments:
Post a Comment