Skip to content

Commit ee5cda8

Browse files
committed
Migrate development environment from Windows to macOS and continue project updates
- Shifted primary development environment from Windows to macOS to ensure better performance, stability, and streamlined workflow for Java development. - Removed OS-specific metadata and ensured platform-agnostic project compatibility. - Normalized line endings to LF for cross-platform consistency. - Verified and adjusted file paths, permissions, and encoding settings to suit macOS environment. - Cleaned up unnecessary Windows-generated files and updated Git configuration accordingly. - Future commits and development will now be managed entirely from macOS. This migration ensures a cleaner, more consistent setup moving forward and prepares the project for scalable development across Unix-based systems. Future development will continue on macOS for a smoother, Unix-based experience. Signed-off-by: Someshdiwan <[email protected]>
1 parent 3b3405e commit ee5cda8

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
public class SubstringsDemo
2+
{
3+
public static void main(String[] args)
4+
{
5+
String alphabet = "ABCDEFG";
6+
//letter: index. A:0, B:1, C:2, D:3, E:4, F:5, G:6
7+
String keyboard = "QWERTY";
8+
//letter: index. Q:0, W:1, E:2, R:3, T:4, Y:5
9+
10+
System.out.println(alphabet.substring(1,7));
11+
System.out.println(keyboard.substring(0,5));
12+
}
13+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@echo off
2+
pushd "%~dp0"
3+
4+
:MENU
5+
cls
6+
echo ============================================================
7+
echo Java - StringBuilder Documentation
8+
echo ============================================================
9+
echo 1. StringBuilder Class (Java SE 8 API)
10+
echo 2. Exit
11+
echo.
12+
set /p choice=Enter your choice [1-2]:
13+
14+
if "%choice%"=="1" start https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html & goto MENU
15+
if "%choice%"=="2" goto END
16+
17+
echo.
18+
echo Invalid choice. Please select 1 or 2.
19+
pause
20+
goto MENU
21+
22+
:END
23+
echo Goodbye!
24+
pause
25+
26+
popd

0 commit comments

Comments
 (0)