0% found this document useful (0 votes)
55 views

Algo Java Strings Dixit

java practice

Uploaded by

dixit limbani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views

Algo Java Strings Dixit

java practice

Uploaded by

dixit limbani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

import java.io.

*;

class GFG {
public static void main(String[] args)
{
String s = "Sachin";

// concat() method appends


// the string at the end
s.concat(" Tendulkar");

// This will print Sachin


// because strings are
// immutable objects
System.out.println(s);
}
}

class MBA sem 4{


public static void main(string [] args)
{
string D = " Dixit";
// concat() Method appends
// the string at the end
D.concat("Limbani");

// This will print Dixit


// Because strings are
// immutable objects
system.out.println(D);
}
}

Class MBA sem 3{


Public static void main(string [] args)
{
String B = " Common man ";
// concat() method appends
// the string at the end
C.concat("Vibal");

{
{
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.32</version>
</dependency>
}

{
{
Class MBA sem 1
public static void main(string [] args)
{
string A= "common man";
// concat() method appends
// the string at the end
C.concat("vible");
}
}
}

{
<!--https://mvnrepository.com/artifact/mysql/mysql-connector-java-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.33</verion>
<dependency>
}

{
{

class MCA Sem 1


public static void main(string [] agrs)
{
string B= "Trushika";
//concat() method appends
// the string at the end
C.concat("vible")
}
}
}

class MCA Sem 2


Public static void main(string [] agrs)
{
string C= "Kirtan";
//concat() method appends
// the string at the end
C.concat("Vible")
}
}
}

Class MCA Sem 3


Public Static void main(string[] agrs)
{
Strings= "Bhavik";
//concat() method appends
//the strings at the end
C.concat("Vible")
}
}
}

{
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.32</version>
</dependency>
}
{
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connectior-java</artifactId>
<version>5.1.38</version>
</dependency>
}

{
Class MCA sem 4
Public static void main(string[] agrs)
{
string= "Kirtan";
//concat() method appends
//the strings at the end
C.concat("Vible")
}
}

{
class MCA sem 5
Public static void main(string [] agrs)
{
Strings= "DIGI";
//concat() method appends
//the strings at the end
C.concat("VIble")
}
}

{
Class MCA sem 6(Project Work)
Public static void main(String [] agrs)
{
Strings= "Trushika";
//concat() method appends
//the strings at the end
C.cancat("Vible")
}
}

{
class MCA sem 6( project work)
public static void main (string [] agrs)
{
strings= "DIGI";
//concat() method appends
// the strings at the end
C.concat("Vible")
}
}

class MCA sem 6 (project report by company)


public static void main (string [] agrs)
{
string= " Boss";
//concat() method appends
//the stings at the end
C.concat("vible")
}
}

{
class MCA sem 6 ( Project report by company for FEMIU)
public static void main( strings [] agrs)
{
string= "Kirtan";
//concat() method appends
//the strings at the end
C.concat(Vible")
}
}

import java.io.*;

class GFG {
public static void main(String[] args)
{
String s = "Sachin";

// concat() method appends


// the string at the end
s.concat(" Tendulkar");

// This will print Sachin


// because strings are
// immutable objects
System.out.println(s);
}
}

class MBA sem 4{


public static void main(string [] args)
{
string D = " Dixit";
// concat() Method appends
// the string at the end
D.concat("Limbani");

// This will print Dixit


// Because strings are
// immutable objects
system.out.println(D);
}
}

Class MBA sem 3{


Public static void main(string [] args)
{
String B = " Common man ";
// concat() method appends
// the string at the end
C.concat("Vibal");

{
{
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.32</version>
</dependency>
}

{
{
Class MBA sem 1
public static void main(string [] args)
{
string A= "common man";
// concat() method appends
// the string at the end
C.concat("vible");
}
}
}

{
<!--https://mvnrepository.com/artifact/mysql/mysql-connector-java-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.33</verion>
<dependency>
}

{
{

class MCA Sem 1


public static void main(string [] agrs)
{
string B= "Trushika";
//concat() method appends
// the string at the end
C.concat("vible")
}
}
}

class MCA Sem 2


Public static void main(string [] agrs)
{
string C= "Kirtan";
//concat() method appends
// the string at the end
C.concat("Vible")
}
}
}
Class MCA Sem 3
Public Static void main(string[] agrs)
{
Strings= "Bhavik";
//concat() method appends
//the strings at the end
C.concat("Vible")
}
}
}

{
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.32</version>
</dependency>
}

{
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connectior-java</artifactId>
<version>5.1.38</version>
</dependency>
}

{
Class MCA sem 4
Public static void main(string[] agrs)
{
string= "Kirtan";
//concat() method appends
//the strings at the end
C.concat("Vible")
}
}

{
class MCA sem 5
Public static void main(string [] agrs)
{
Strings= "DIGI";
//concat() method appends
//the strings at the end
C.concat("VIble")
}
}

{
Class MCA sem 6(Project Work)
Public static void main(String [] agrs)
{
Strings= "Trushika";
//concat() method appends
//the strings at the end
C.cancat("Vible")
}
}

{
class MCA sem 6( project work)
public static void main (string [] agrs)
{
strings= "DIGI";
//concat() method appends
// the strings at the end
C.concat("Vible")
}
}

class MCA sem 6 (project report by company)


public static void main (string [] agrs)
{
string= " Boss";
//concat() method appends
//the stings at the end
C.concat("vible")
}
}

{
class MCA sem 6 ( Project report by company for FEMIU)
public static void main( strings [] agrs)
{
string= "Kirtan";
//concat() method appends
//the strings at the end
C.concat(Vible")
}
}

You might also like