Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: String Operation in Java

  1. #1
    Junior Member
    Join Date
    Dec 2020
    Thanked 1 Time in 1 Post

    Default String Operation in Java

    Hello Everyone, Can anyone know the scope of string operation in java? Actually, I am new to java programming and I worked as a python developer for the last 6 months. Now I got a project based on java. According to this https://www.interview.com/blog/java-vs-python/, The scope of string operation in Python is very widespread but I have no idea about java. Can anyone help me?

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,702 Times in 2,652 Posts

    Default Re: String Operation in Java

    The scope of a variable declaration is within the nearest enclosing {}s.
    That is true for String variables as well as any variable.

    Can you explain what you mean by "string operation"?
    Are you talking about the String class?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Please help, how to convert a String to an arithmetic operation?
    By Kyl96 in forum Algorithms & Recursion
    Replies: 7
    Last Post: June 24th, 2014, 07:05 AM
  2. Optimize code Java in activity and long operation
    By markjava in forum Android Development
    Replies: 1
    Last Post: November 14th, 2012, 05:02 PM
  3. Java File Operation
    By tcstcs in forum Java Theory & Questions
    Replies: 2
    Last Post: March 28th, 2011, 07:54 AM
  4. Convert String Literal into Operation
    By SchoolHDD in forum What's Wrong With My Code?
    Replies: 4
    Last Post: May 30th, 2010, 03:53 PM
  5. [SOLVED] java me how to: input - math operation - output
    By Lifer in forum Java ME (Mobile Edition)
    Replies: 3
    Last Post: April 7th, 2010, 05:36 PM

Tags for this Thread